package com.empty.oredermenu.activity

import android.app.Activity
import android.os.Bundle
import com.amap.api.maps.MapView
import com.amap.api.navi.AMapNaviViewListener

import com.empty.oredermenu.R

/**
 * Created by empty cup on 2017/7/11.
 */

class MapRouteActivity : Activity(),AMapNaviViewListener {
    override fun onNaviCancel() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onNaviTurnClick() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onNaviViewLoaded() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onNaviBackClick(): Boolean {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onNaviMapMode(p0: Int) {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onNextRoadClick() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onScanViewButtonClick() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onLockMap(p0: Boolean) {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun onNaviSetting() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    var mAMapNaviView: MapView? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_mapnavi)

        mAMapNaviView  = findViewById(R.id.navi_view) as MapView
        mAMapNaviView!!.onCreate(savedInstanceState)
//        mAMapNaviView!!.addAMapNaviViewListener(this)
    }
}
